<template>
    <router-view></router-view>
</template>

<script>
export default {
  data() {
    return {
      
    };
  },
  created(){
    this.getUserList();
  },
  methods: {
    getUserList(){
        this.axios.get('userList.json').then(result=>{
          let userList=result.data.message;
          this.$store.commit("getUserList",userList);
        })     
    },
        
  }
};
</script>

<style scoped>

</style>
